package com.sora.enumeration;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Classname: ResponseCode
 * @Description:
 * @Author: Stonffe
 * @Date: 2023/4/29 14:15
 */
@AllArgsConstructor
@Getter
public enum ResponseCode {
    /**
     * 成功
     */
    SUCCESS(200,"成功"),
    /**
     * 失败
     */
    FAIL(500,"失败"),
    /**
     * 未找到指定方法
     */
    METHOD_NOT_FOUND(500,"未找到指定方法"),
    /**
     * 未找到指定类
     */
    CLASS_NOT_FOUND(500,"未找到指定类");
    private Integer code;
    private String message;

}
